package com.example.demo.dao;

import com.example.demo.pojo.Order;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderMapper {
    public Order findById(Integer id);

    public List<Order> findByUserid(Order order);

    public int addOrder(Order order);

    public int updateOrder(Order order);
}
